<!doctype html>
<html>
	<head>
		<title>Learning WebGL &mdash; lesson 1</title> 
		<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> 
		 
		<link href="../lessons.css" type="text/css" rel="stylesheet" media="screen" /> 
		  <script type="text/javascript" src="http://code.jquery.com/jquery-1.6.1.min.js"></script>
		  <script type="text/javascript" src="{{ url_for('static', filename='js/PhiloGL.js') }}"></script>
		 
		<script id="shader-fs" type="x-shader/x-fragment"> 
            #ifdef GL_ES
                precision highp float;
            #endif
 
            void main(void) {
                gl_FragColor = vec4(1.0, 1.0, 1.0, 1.0);
            }
	    </script> 
		 
		<script id="shader-vs" type="x-shader/x-vertex"> 
            attribute vec3 aVertexPosition;
 
            uniform mat4 uMVMatrix;
            uniform mat4 uPMatrix;
 
            void main(void) {
                gl_Position = uPMatrix * uMVMatrix * vec4(aVertexPosition, 1.0);
            }
	    </script>

		{% block head %}
		{% endblock %}
	</head>

    {% block body %}
	{% endblock %}
</html>